<div id="content">

    <div id="content-header">

        <div id="breadcrumb"><a href="<?php echo site_url('Login/login') ?>" title="Go to Home" class="tip-bottom"><i
                class="icon-home"></i> 主页</a> <a href="#" class="current">客服工作台</a></div>

        <h1>代注册操作日志</h1>

    </div>

    <div class="container-fluid">

        <hr>

        <div class="row-fluid">

            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title"><span class="icon"><i class="icon-th"></i></span>
                        <h5>Data table</h5>
                        <span style="position:absolute;right:0;">
<?php  $url=site_url('auth/show/customreset.html')?>
                            <button class="btn btn-success btn-mini" onClick="window.open('<?php echo $url?>','_self')">增加</button>
			</span>
                    </div>
                    <div class="widget-content nopadding">
                        <table class="table table-bordered data-table">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>账号</th>
                                <th>账号类型</th>
                                <th>游戏类目</th>
                                <th>手机号</th>
                                <th>重置密码</th>
                                <th>操作备注</th>
                                <th>操作时间</th>
                                <th>操作人</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php
                            $rows=$data[0];
                            foreach($rows as $value):
                            ?>
                            <tr class="gradeX">
                                <td><?php  echo $value['id']?></td>
                                <td><?php  echo $value['nickname']?></td>
                                <td><?php  echo '代理'?></td>
                                <td class="center"><?php
                                if($value['gid']==0){
                                echo '来来乐斗牛';
                                }else{
                                echo '广东转转麻将';
                                }
?></td>
                                <td class="center"><?php  echo $value['phone']?></td>
                                <td class="center"><?php  echo $value['newpwd']?></td>
                                <td class="center"><?php  echo $value['drcp']?></td>
                                <td class="center"><?php echo date('Y-m-d H:i:s',$value['time'])?></td>
                                <td class="center"><?php  echo $value['admin_id']?></td>
                            </tr>
                            <?php    endforeach; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

        </div>

    </div>

</div>